Ensure that specbind arg is always bare symbol, and drop check
authorMattias Engdegård <mattiase@acm.org>
Thu, 18 Apr 2024 10:59:35 +0000 (12:59 +0200)
committerMattias Engdegård <mattiase@acm.org>
Thu, 18 Apr 2024 11:55:47 +0000 (13:55 +0200)
commit0a57dfcff8d0abcf4427cfbfd886264bb3b8eaab
treee5873afb2bc9b9eec4b1180e2779b67a76673aa7
parentdba115d6bcbc955858526740254bd9a169830d7e
Ensure that specbind arg is always bare symbol, and drop check

* src/eval.c (FletX, Flet, internal_lisp_condition_case)
(funcall_lambda): Ensure that the first argument to `specbind` is
a bare symbol in the few cases where this isn't statically guaranteed.
(specbind): Drop the symbol argument type check on the fast path.
src/eval.c